package test02;

public class SleepTest extends Thread {
public static void main(String[] args) {
	for (int i = 0; i < 10; i++) {
		try {
		if (i==5) {
			Thread.sleep(6000);
		}
		}catch (Exception e) {
			// TODO: handle exception
			e.printStackTrace();
		}
		System.out.println(Thread.currentThread().getName()+":"+i);
	}
}
}
